import Vue from 'vue'
import Router from 'vue-router'
import Mytable from '@/components/Mytable'
import empForm from '@/components/empForm'
import updateForm from '@/components/updateForm'

Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/',
      name: 'mytable',
      component: Mytable
    },
    {
      path: '/empForm',
      name: 'empForm',
      component: empForm
    },
    {
      path: '/updateForm',
      name: 'updateForm',
      component: updateForm
    }
  ]
})
